package com.fuluwa.depart.pc.interfaces.web.usercenter.vo;

import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class UserProfileVO {

	private long uin; // 用户唯一标识
	private String name;
	private String nickName; // 昵称
	private int sex;
	private int age;
	private int level; // 用户在平台等级
	private long experience; // 用户在平台的经验值
	private Map<Integer, Integer> property = new HashMap<Integer, Integer>();
	private Date registerTime;

	private List<Company> companyList = new ArrayList<UserProfileVO.Company>(); // 公司列表
	private List<Education> eduList = new ArrayList<UserProfileVO.Education>(); // 教育经验列表

	public long getUin() {
		return uin;
	}

	public void setUin(long uin) {
		this.uin = uin;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public int getSex() {
		return sex;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public long getExperience() {
		return experience;
	}

	public void setExperience(long experience) {
		this.experience = experience;
	}

	public Map<Integer, Integer> getProperty() {
		return property;
	}

	public void setProperty(Map<Integer, Integer> property) {
		this.property = property;
	}

	public Date getRegisterTime() {
		return registerTime;
	}

	public void setRegisterTime(Date registerTime) {
		this.registerTime = registerTime;
	}

	public List<Company> getCompanyList() {
		return companyList;
	}

	public void setCompanyList(List<Company> companyList) {
		this.companyList = companyList;
	}

	public List<Education> getEduList() {
		return eduList;
	}

	public void setEduList(List<Education> eduList) {
		this.eduList = eduList;
	}

	public class Company {

		private String name;
		private Date from;
		private Date to;
		private long leafClassId; // 所属行业的叶子节点ID
		private String descFilePath;

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public Date getFrom() {
			return from;
		}

		public void setFrom(Date from) {
			this.from = from;
		}

		public Date getTo() {
			return to;
		}

		public void setTo(Date to) {
			this.to = to;
		}

		public long getLeafClassId() {
			return leafClassId;
		}

		public void setLeafClassId(long leafClassId) {
			this.leafClassId = leafClassId;
		}

		public String getDescFilePath() {
			return descFilePath;
		}

		public void setDescFilePath(String descFilePath) {
			this.descFilePath = descFilePath;
		}

	}

	public class Education {
		private String name;
		private Date from;
		private Date to;

		public String getName() {
			return name;
		}

		public void setName(String name) {
			this.name = name;
		}

		public Date getFrom() {
			return from;
		}

		public void setFrom(Date from) {
			this.from = from;
		}

		public Date getTo() {
			return to;
		}

		public void setTo(Date to) {
			this.to = to;
		}

	}
}
